package com.tyanxie.asd.config

import androidx.room.Database
import androidx.room.RoomDatabase
import com.tyanxie.asd.dao.SugarEntityDao
import com.tyanxie.asd.dao.SugarNumberDao
import com.tyanxie.asd.model.SugarEntity
import com.tyanxie.asd.model.SugarNumber

@Database(entities = [SugarNumber::class, SugarEntity::class], version = 1, exportSchema = false)
abstract class IDataBase : RoomDatabase() {
    abstract fun sugarNumberDao(): SugarNumberDao

    abstract fun sugarEntityDao(): SugarEntityDao
}